ComponentOne Basic Library for UWP
C1.UWP Assembly / C1.Xaml Namespace / Extensions Class / MakeRelative Method / MakeRelative(Popup,FrameworkElement,Func<List<AnchorMatching>>) Method
Windows.UI.Xaml.Controls.Primitives.Popup to handle.
Element used to locate the popup.
Function that provides the ordered list of AnchorMatching defining the corners to bound of both elements.

In This Topic
    MakeRelative(Popup,FrameworkElement,Func<List<AnchorMatching>>) Method
    In This Topic
    Makes the popup relative to another Windows.UI.Xaml.FrameworkElement.
    Syntax
    'Declaration
     
    Public Overloads Shared Sub MakeRelative( _
       ByVal popup As Windows.UI.Xaml.Controls.Primitives.Popup, _
       ByVal relativeElement As Windows.UI.Xaml.FrameworkElement, _
       ByVal getLocations As System.Func(Of List(Of AnchorMatching)) _
    ) 
    public static void MakeRelative( 
       Windows.UI.Xaml.Controls.Primitives.Popup popup,
       Windows.UI.Xaml.FrameworkElement relativeElement,
       System.Func<List<AnchorMatching>> getLocations
    )

    Parameters

    popup
    Windows.UI.Xaml.Controls.Primitives.Popup to handle.
    relativeElement
    Element used to locate the popup.
    getLocations
    Function that provides the ordered list of AnchorMatching defining the corners to bound of both elements.
    See Also